{% extends "base.html" %}
{% load static %}

{% block headjs %}

{% endblock %}

{% block content %}


    <div class="container-lg">
        <div class="row-lg">
        <div class="card">
					<div class="card-body">
						<div class="d-lg-flex align-items-center mb-4 gap-3">
							<div class="position-relative">
                                <form class="form-inline my-2 my-lg-0 ml-auto " method="get" action="">
                        <input class="form-control mr-sm-2 form-control ps-5 radius-30" type="search" placeholder="模糊搜索" aria-label="Search" name="search">
                        <button class="btn btn-outline-success my-2 my-sm-0" type="submit">搜索</button>
                    </form>

                                <span class="position-absolute top-50 product-show translate-middle-y"><i class="bx bx-search"></i></span>
							</div>
						  <div class="ms-auto"><a href="javascript:;" class="btn btn-primary radius-30 mt-2 mt-lg-0"><i class="bx bxs-plus-square"></i>Add New Order</a></div>
						</div>
						<div class="table-responsive">
							<table class="table mb-0">
								<thead class="table-light">
									<tr>
										<th>产品名称</th>
										<th>售价</th>
										<th>底价</th>
                                        <th>类别备注</th>
										<th>类别</th>
										<th>供应商</th>
                                        <th>成本价</th>
                                        <th>操作</th>

									</tr>
								</thead>
								<tbody>
   {% for chanpin in chanpins %}
									<tr>
										<td>
											<div class="d-flex align-items-center">
												<div class="input-group-text border-0 bg-transparent">
													<input class="form-check-input Checkbox  following  input mr-2" type="checkbox" value="" aria-label="...">
												</div>
												<div class="ms-2">
													<h6 class="mb-0 font-14">{{ chanpin.title }}</h6>
												</div>
											</div>
										</td>
										<td>{{ chanpin.jiage }}</td>
										<td>{{ chanpin.leibie.description }}</td>
										<td>{{ chanpin.jiage_dijia }}</td>
										<td>{{ chanpin.leibie }}</td>
                                        <th> {{ chanpin.gys }} </th>
                                         <th> {{ chanpin.cbj }} </th>
										<td><button type="button" class="btn btn-primary btn-sm radius-30 px-4">详情</button></td>
									</tr>
  {% endfor %}
								</tbody>
							</table>
						</div>
					</div>
				</div>





            </div>


    </div>



{% endblock %}

{% block footerjs %}


{% endblock %}
